Get the types right, baby.
authorJim Blandy <jimb@redhat.com>
Thu, 20 May 1993 02:15:28 +0000 (02:15 +0000)
committerJim Blandy <jimb@redhat.com>
Thu, 20 May 1993 02:15:28 +0000 (02:15 +0000)
src/xfaces.c

index 48068b014f8ac9e305468780531608399e6b6ad5..285ac3f6bf1d0cb308f99ffd83455d8696e43f7d 100644 (file)
@@ -558,8 +558,8 @@ static int
 same_size_fonts (font1, font2)
      XFontStruct *font1, *font2;
 {
-  XCharStruct *bounds1 = font1->min_bounds;
-  XCharStruct *bounds2 = font2->min_bounds;
+  XCharStruct *bounds1 = &font1->min_bounds;
+  XCharStruct *bounds2 = &font2->min_bounds;
 
   return (bounds1->width == bounds2->width
          && bounds1->ascent == bounds2->ascent